<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta name="referrer" content="no-referrer"><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>扣小妖 - 日常记录</title><meta name="author" content="扣小妖"><meta name="copyright" content="扣小妖"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="日常记录">
<meta property="og:type" content="website">
<meta property="og:title" content="扣小妖">
<meta property="og:url" content="http://liukuaizhuan.gitee.io/page/3/index.html">
<meta property="og:site_name" content="扣小妖">
<meta property="og:description" content="日常记录">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://p.ananas.chaoxing.com/star3/origin/c6eb667caaea4b46a934d65b6a348821.png">
<meta property="article:author" content="扣小妖">
<meta property="article:tag" content="笔记">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://p.ananas.chaoxing.com/star3/origin/c6eb667caaea4b46a934d65b6a348821.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://liukuaizhuan.gitee.io/page/3/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://gcore.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://gcore.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '扣小妖',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2023-02-13 23:35:57'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.2"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://p.ananas.chaoxing.com/star3/origin/c6eb667caaea4b46a934d65b6a348821.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">57</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">6</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">14</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-heartbeat"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/photos/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://pic4.zhimg.com/v2-0de151579db0231cbaa001f3a4ca10c7_r.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">扣小妖</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-heartbeat"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/photos/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">扣小妖</h1><div id="site-subtitle"><span id="subtitle"></span></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/posts/7073f608.html" title="0001.全民一起学VBA教程(基础+实战+提高篇)"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/276b546fb6758826dd9aa16092dc5436.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="0001.全民一起学VBA教程(基础+实战+提高篇)"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/7073f608.html" title="0001.全民一起学VBA教程(基础+实战+提高篇)">0001.全民一起学VBA教程(基础+实战+提高篇)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-30T12:06:37.000Z" title="发表于 2022-12-30 20:06:37">2022-12-30</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/excel%E6%95%99%E7%A8%8B/">excel教程</a></span></div><div class="content">
  1b048b2bad1133e7d3decd938bb072dc1325ed02cd13ef1699b43a23d73130d45f08f607d250a9a1675cc565de82e8853a9275e464563dd19bf6a4d1de8011ec74a059f4e1c8184b5729bfdc0663b3400eada5ca098cc2ef9cb702235ec97be85b21f46d55c29cfdb287f2fd9f62e40e3342f17670824ea2a3bd7f713155f1c8c47e052b9671d4ceef7e8f6306d5e8dea770eee356d7ae173cc3cc3d07aeee8336c8fc831543bfb437dc3111bd5878d165421f24c1240d23dd82e8e3b0855f99d3d767b038e51d2a944ff94f8cc34828b29a5025d239fa0e301263c60b9e6b57d988239fe10660582c41688bf77fe424f7492e5d2220c989b ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/3599e7e7.html" title="0001.aardio桌面软件开发"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/f2432cefcf3030b604c7d8cf58c59ebb.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="0001.aardio桌面软件开发"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/3599e7e7.html" title="0001.aardio桌面软件开发">0001.aardio桌面软件开发</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-27T16:41:47.000Z" title="发表于 2022-12-28 00:41:47">2022-12-28</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%A1%8C%E9%9D%A2%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91/">桌面软件开发</a></span></div><div class="content">aardio介绍：


aardio 🔊 专注于桌面软件开发，17年一直保持非常活跃地更新(更新日志) ，aardio 被多年用于生产项目实践，久经测试和锤炼。aardio 在诞生之初就设计了良好的架构与语法。正因如此，aardio 历经17年发展，日新月异，每一年都会带来大量的更新扩展，但仍然能保持最初简洁高效的结构与语法，即使是最早的 aardio 源代码仍然能不经修改在最新版本开发环境中完美运行。
 aardio 小、轻、快，轻便利索，体积仅 6.5MB，学习和使用成本极低 。aardio 虽然小，但提供了惊人数量的开源标准库、扩展库 - 这些库基本都是由纯 aardio 代码实现，涉及到了桌面编程的方方面面。aardio 中的所有库基本都是由作者一个人编写，所以拥有良好的一致性。aardio为 每一个库的每一个接口函数都编写了文档，并且提供了大量的演示范例。aardio 使用流行的类 C 语法(非常接近 JavaScript )，在设计中尽可能地避免哗众取宠、标新立异，并且吸取和借鉴流行语言的习惯用法。不少 aardio 用户都表示只要有一点编程基础，aardio 几乎不用特 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/63846c73.html" title="0002.AdGuard安卓广告拦截工具"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/4b093e0ce72afb8ef38f1a093f2aa271.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="0002.AdGuard安卓广告拦截工具"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/63846c73.html" title="0002.AdGuard安卓广告拦截工具">0002.AdGuard安卓广告拦截工具</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-20T17:27:08.000Z" title="发表于 2022-12-21 01:27:08">2022-12-21</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AE%89%E5%8D%93%E8%BD%AF%E4%BB%B6/">安卓软件</a></span></div><div class="content">AdGuard安卓中文破解版 是一款非常强大的广告拦截工具，可以帮助用户在上网的时候屏蔽掉各种广告内容，还你一个干净清爽的浏览界面，同时也更加安全。手机的屏幕本来就不大，如果这时候出现广告内容那么影响是非常大的，而这款软件就可以将其拦截。此外它还有白名单以及自定义过滤规则的功能，还有多个拦截级别可以调整。

软件介绍 Adguard为你提供了一个可靠的、可管理的保护，就没有你们的参与滤波器加载网页。adguard移除所有烦人的广告，阻止危险网站的加载，也不会允许任何人在网上跟踪你的活动。

   div .img_left{
        float:left;
    }

 

 


软件特色 
20+个广告屏蔽列表从我们团队的高水平专家和知名社区成员所设计的现有的、最好的过滤器列表中进行选择。启用涵盖最常见广告的常规列表，并将其与我们特定语言的列表结合使用，以确用户保获得最佳的保护。

白名单通过将您喜欢的内容创建者的网站添加到例外列表中来支持他们。无需在每次访问一个已知、可信的、没有恼人广告的网站时关闭 AdGuard 。

自定义过滤器我们的应用程序给予用户控制过滤过程的 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/ab84bfbb.html" title="0001:大师兄影视APP"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/39d17dd69b77e7a907f95f6fe0d46e19.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="0001:大师兄影视APP"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/ab84bfbb.html" title="0001:大师兄影视APP">0001:大师兄影视APP</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-16T13:26:47.000Z" title="发表于 2022-12-16 21:26:47">2022-12-16</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%AE%89%E5%8D%93%E8%BD%AF%E4%BB%B6/">安卓软件</a></span></div><div class="content">软件简介大师兄影视app是一款能够为你们带来非常优质的播放环境，为你们进行提供各种不同风格的影视作品，满足你们的不同观影需求，平台实时的进行更新最新的影视资源，让你们可以第一时间进行看到剧情，欢迎你们来进行下载！
 .img_left{ float:left; }  
 

 


软件介绍1、平台里面的所有的影片都是可以免费为你们进行提供，让你们随时进行观看；2、 现在的版本是有广告的，广告还不少，请务必配合下面的去广告软件使用； 3、为你们进行推荐最新的热门影视剧，让你们可以及时赶上热播剧的潮流，方便；4、全部都是正版播放渠道，你们可以非常放心的进行观看，带给你们最好的播放资源；5、遇到喜欢的影视剧，还可以直接下载保存，方便用户随时观看，更加节省流量。
软件下载高速通道，根据自己需要的版本选择下载 
官方网站

官方网站1 – dsxys.com 国内部分屏蔽
官方网站2 – dsxys.pro 国内可正常打开
官网下载通道
80手机电影网 - 也是一个不错的视频网站，高速 无广告，可直链，可下载 www.8080s.net  /  www.80s.cm

[高速下载通道]安卓版下 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/a7345c78.html" title="002.php视频解析类"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/2ecc691edf3d5db2d6fe864388b16d6d.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="002.php视频解析类"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/a7345c78.html" title="002.php视频解析类">002.php视频解析类</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-15T12:50:41.000Z" title="发表于 2022-12-15 20:50:41">2022-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/php/">php</a></span></div><div class="content">
  1b048b2bad1133e7d3decd938bb072dc5a224e5e57aafd9861f5f1b113367477972f2fcc4e0add9800e8af05f118cdace8e8d94b3618c15118c3d5d6d2698636c6e4ff6dcd1f295e43d6f1a22f65c4c8c7fab8210b1994a0bfc7bc6d2a83e2297b9ac4b071f86e942a65bafd204d578bdbf1eba70bcc8a7ad5581a5a0cb6ac3e8667dd25f61843586d85574bb83d851a3c614768287dd71c03e8ecf125db270ae05bf485256c722fc6aa4c7edb6cfebd24dcb5838f00e1f79f5b89e63acc899af983c7241b245b40899c9be1a9738b665c4930f5e0b1e23a307b037ba88b65eb9f2e3f74795bb67e82d919964653ead2fadaa9ffd40544231 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/52e236c9.html" title="001.php-curl万用通讯类"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/369de39b4145b2716d7c8a0e5df57e19.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="001.php-curl万用通讯类"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/52e236c9.html" title="001.php-curl万用通讯类">001.php-curl万用通讯类</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-15T12:49:07.000Z" title="发表于 2022-12-15 20:49:07">2022-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/php/">php</a></span></div><div class="content">
  1b048b2bad1133e7d3decd938bb072dc5a224e5e57aafd9861f5f1b113367477e04279f7dd6d6e69c60a7fc521ba420159fb8b55269b093437a905fa8361583592c113b199fdc86c3d6c6652a9dc4ce0b44d9b48dbb7cca61faf78d582596af5e2909a091471406ada9c067f70117ae6901638ace3ba9260ba4de8b87b1129142b9f0b3a1839205e3c4484236995f6ff7da3ea892bd449f24ab77c96dd30dc4ca08333490d0d083d4395eb41ecc510f9d55a2f931793cfe4407e77d7ecd7b4e621e362735e31f419aacb27766a9ab61fcab0e6d41fd1df11a87cfe744c33df933c73427e80f3fdaba89f1a186088ea5d5601925407418078b ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/a7276a85.html" title="002.组件-lable标签和input输入框"><img class="post_bg" src="https://www.toopic.cn/public/uploads/small/1658043938262165804393852.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="002.组件-lable标签和input输入框"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/a7276a85.html" title="002.组件-lable标签和input输入框">002.组件-lable标签和input输入框</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-15T06:35:12.000Z" title="发表于 2022-12-15 14:35:12">2022-12-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/tkinter%E7%95%8C%E9%9D%A2%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91/">tkinter界面应用开发</a></span></div><div class="content">学习目标本课程学习Python - tkinter界面应用开发的 2个组件1.lable文字标签2.input输入框


窗口演示
学习代码1234567891011121314151617181920212223242526272829303132333435363738394041424344454647# 登录# 导入类库from tkinter import Tk# 使用相关的组件import tkinter as tk# 1.窗体my_window = Tk()my_window.title(&#x27;登录&#x27;)# 设置窗口大小并居中显示# 屏幕的宽度、高度screen_width, screen_height = my_window.maxsize()# 窗体的宽度，高度width = 250height = 200# 设置窗体在屏幕的中央显示align_str = &#x27;%dx%d+%d+%d&#x27; % (width, height, (screen_width - width) / 2, (screen_height - height) / 2)m ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/91fa484a.html" title="001.初认识tkinter"><img class="post_bg" src="https://www.toopic.cn/public/uploads/small/16427494393164274943953.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="001.初认识tkinter"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/91fa484a.html" title="001.初认识tkinter">001.初认识tkinter</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-13T05:11:21.000Z" title="发表于 2022-12-13 13:11:21">2022-12-13</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/tkinter%E7%95%8C%E9%9D%A2%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91/">tkinter界面应用开发</a></span></div><div class="content">
初认识tkinter

初步进行基础的界面应用构建，设置搭建的窗口的大小，默认初始窗口的位置 ，窗口的标题等情况的基础配置
1234567891011121314151617181920212223242526# Python GUI界面from tkinter import Tk# 1.显示窗口my_window = Tk()# 标题my_window.title(&#x27;我是标题&#x27;)# 设置窗口居中# 获取整个屏幕大小 ,设置大小的时候计算位置即可screen_width, screen_height = my_window.maxsize()# 设置窗口大小width = 400height = 400align_str = &#x27;%dx%d+%d+%d&#x27; % (width, height, (screen_width - width) / 2, (screen_height - height) / 2)# 设置窗口的 宽，高my_window.geometry(align_str)# 设置窗口是否可以缩放,True表示可以缩放，False表示不可 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/posts/a6855688.html" title="00.从0开始hexo"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/77ba8e4cf9c46f1272a6c9748c8b7c0c.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="00.从0开始hexo"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/a6855688.html" title="00.从0开始hexo">00.从0开始hexo</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-12T03:49:26.000Z" title="发表于 2022-12-12 11:49:26">2022-12-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/hexo/">hexo</a></span></div><div class="content">01.安装hexo在终端下面 每行代码 都分步骤执行
12345npm install hexo-cli -g     # hexo框架的安装    hexo init blog              # 初始化文件夹 ，即克隆hexo项目到本地blog文件夹里面cd blog                     # 进入blog文件夹npm install                 # 安装依赖文件hexo server                 # 测试启动hexo

安装好后，将blog文件夹里面的文件都复制到项目根目录
02. 安装 butterfly 主题安装主题文件夹在你的 Hexo 根目录里 终端里面运行下面代码
1git clone -b master https://gitee.com/immyw/hexo-theme-butterfly.git themes/butterfly

执行完毕后，会在 themes 文件夹下 生成一个butterfly文件夹
应用主题修改 Hexo 根目录下的 _config.yml，把主题改为butterfly
1 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/posts/18ae4187.html" title="Python项目0002 - 超星小组云盘批量上传图片"><img class="post_bg" src="https://p.ananas.chaoxing.com/star3/origin/de7537b326678c1bb5456cfd07a41bcf.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Python项目0002 - 超星小组云盘批量上传图片"></a></div><div class="recent-post-info"><a class="article-title" href="/posts/18ae4187.html" title="Python项目0002 - 超星小组云盘批量上传图片">Python项目0002 - 超星小组云盘批量上传图片</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-12-10T15:52:50.000Z" title="发表于 2022-12-10 23:52:50">2022-12-10</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Python%E5%AE%9E%E6%88%98%E9%A1%B9%E7%9B%AE/">Python实战项目</a></span></div><div class="content">项目描述
本项目 是为了解决记录笔记时候多张图片手动上传获取图片地址的麻烦，实现的批量上传。
注意： 通过此方法上传的图片，不会在超星小组云盘的文件夹里面显示



基础环境


环境
配置



python版本
3.10


IDE编辑器
pycharm


电脑环境
macOS Monterey 版本12.3.1


python代码
Click show Code12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485# ============================# 访问超星小组云盘 - 批量上传图片 # ============================# 遍历文件夹下所有的文件def get_files(dirPath):    import os    # 遍历文件夹    file_lis ...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/page/2/#content-inner"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/#content-inner">2</a><span class="page-number current">3</span><a class="page-number" href="/page/4/#content-inner">4</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/#content-inner">6</a><a class="extend next" rel="next" href="/page/4/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://p.ananas.chaoxing.com/star3/origin/c6eb667caaea4b46a934d65b6a348821.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">扣小妖</div><div class="author-info__description">Email：  liukuaizhuan@qq.com</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">57</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">6</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">14</div></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">This is my Blog 技术笔记</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/7f4a6eeb.html" title="013.c++核心编程-类和对象"><img src="https://p.ananas.chaoxing.com/star3/origin/7ea674ffcd12ef7d943d54c93e9203a4.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="013.c++核心编程-类和对象"/></a><div class="content"><a class="title" href="/posts/7f4a6eeb.html" title="013.c++核心编程-类和对象">013.c++核心编程-类和对象</a><time datetime="2023-02-13T14:55:03.000Z" title="发表于 2023-02-13 22:55:03">2023-02-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/4adebd64.html" title="012.C++核心编程-函数提高"><img src="https://p.ananas.chaoxing.com/star3/origin/b6c49bb4892ad191edbc0363caf45530.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="012.C++核心编程-函数提高"/></a><div class="content"><a class="title" href="/posts/4adebd64.html" title="012.C++核心编程-函数提高">012.C++核心编程-函数提高</a><time datetime="2023-02-13T14:51:24.000Z" title="发表于 2023-02-13 22:51:24">2023-02-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/bff12c11.html" title="011.C++核心编程-引用"><img src="https://p.ananas.chaoxing.com/star3/origin/86403540a7b572fec123890e9a638adc.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="011.C++核心编程-引用"/></a><div class="content"><a class="title" href="/posts/bff12c11.html" title="011.C++核心编程-引用">011.C++核心编程-引用</a><time datetime="2023-02-13T14:47:34.000Z" title="发表于 2023-02-13 22:47:34">2023-02-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/9368cbfc.html" title="010.C++核心编程-内存分区模型"><img src="https://p.ananas.chaoxing.com/star3/origin/b4c7f6d417c4c75ed02262f3549625c8.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="010.C++核心编程-内存分区模型"/></a><div class="content"><a class="title" href="/posts/9368cbfc.html" title="010.C++核心编程-内存分区模型">010.C++核心编程-内存分区模型</a><time datetime="2023-02-06T15:28:05.000Z" title="发表于 2023-02-06 23:28:05">2023-02-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/b056b485.html" title="009.C++基础实战-通讯录管理系统"><img src="https://p.ananas.chaoxing.com/star3/origin/5cdbcc7b75aea2aa3a8b12cae1439e99.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="009.C++基础实战-通讯录管理系统"/></a><div class="content"><a class="title" href="/posts/b056b485.html" title="009.C++基础实战-通讯录管理系统">009.C++基础实战-通讯录管理系统</a><time datetime="2023-02-04T10:02:31.000Z" title="发表于 2023-02-04 18:02:31">2023-02-04</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/C-QT/"><span class="card-category-list-name">C++&&QT</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/C-%E5%9F%BA%E7%A1%80%E5%85%A5%E9%97%A8/"><span class="card-category-list-name">C++基础入门</span><span class="card-category-list-count">9</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/C-%E6%A0%B8%E5%BF%83%E7%BC%96%E7%A8%8B/"><span class="card-category-list-name">C++核心编程</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Python%E5%AE%9E%E6%88%98%E9%A1%B9%E7%9B%AE/"><span class="card-category-list-name">Python实战项目</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Python%E7%88%AC%E8%99%AB/"><span class="card-category-list-name">Python爬虫</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/excel%E6%95%99%E7%A8%8B/"><span class="card-category-list-name">excel教程</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/hexo/"><span class="card-category-list-name">hexo</span><span class="card-category-list-count">6</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/php/"><span class="card-category-list-name">php</span><span class="card-category-list-count">2</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/C-%E5%9F%BA%E7%A1%80%E5%85%A5%E9%97%A8/" style="font-size: 1.5em; color: #99a9bf">C++基础入门</a> <a href="/tags/C-%E6%A0%B8%E5%BF%83%E7%BC%96%E7%A8%8B/" style="font-size: 1.37em; color: #99a4b2">C++核心编程</a> <a href="/tags/hexo%E7%9B%B8%E5%85%B3/" style="font-size: 1.1em; color: #999">hexo相关</a> <a href="/tags/tkinter%E7%95%8C%E9%9D%A2%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91/" style="font-size: 1.23em; color: #999ea6">tkinter界面应用开发</a> <a href="/tags/%E5%9C%A8%E7%BA%BF%E5%B7%A5%E5%85%B7%E5%8C%85/" style="font-size: 1.1em; color: #999">在线工具包</a> <a href="/tags/%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98/" style="font-size: 1.1em; color: #999">百度网盘</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/02/"><span class="card-archive-list-date">二月 2023</span><span class="card-archive-list-count">6</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/01/"><span class="card-archive-list-date">一月 2023</span><span class="card-archive-list-count">11</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/12/"><span class="card-archive-list-date">十二月 2022</span><span class="card-archive-list-count">39</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/02/"><span class="card-archive-list-date">二月 2022</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">57</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-02-13T15:35:56.943Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By 扣小妖</div><div class="footer_custom_text"><p style="margin:10px 0 5px"><a target="_blank" href="https://hexo.io/" style="margin-inline:5px">博客 hexo</a><a target="_blank" href="https://butterfly.js.org/" style="margin-inline:5px">主题 Butterfly</a><a target="_blank" href="https://gitee.com/" style="margin-inline:5px">托管 Gitee</a></p></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://gcore.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/node-snackbar/0.1.16/snackbar.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
  if (true) { 
    window.typed = new Typed("#subtitle", {
      strings: ["日常记录"],
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50
    })
  } else {
    document.getElementById("subtitle").innerHTML = '日常记录'
  }
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/typed.js/2.0.12/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}</script><script>(() => {
  const $mermaidWrap = document.querySelectorAll('#article-container .mermaid-wrap')
  if ($mermaidWrap.length) {
    window.runMermaid = () => {
      window.loadMermaid = true
      const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'

      Array.from($mermaidWrap).forEach((item, index) => {
        const mermaidSrc = item.firstElementChild
        const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n'
        const mermaidID = 'mermaid-' + index
        const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
        mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => {
          mermaidSrc.insertAdjacentHTML('afterend', svgCode)
        })
      })
    }

    const loadMermaid = () => {
      window.loadMermaid ? runMermaid() : getScript('https://gcore.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid)
    }

    window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
  }
})()</script></div><script defer="defer" id="ribbon" src="https://gcore.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="false" data-click="false"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>